package com.erju.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 实验室预约
 * @author: erju
 * @date: 2022.03.26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SlLabAppointment implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private Integer lab_id;
    //@JSONField(format="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appointment_time;
    //预约人
    private String appointment_user;
    private String appointment_type;
    private Integer appointment_flag;
    private String appointment_site;

}
